package com.sq.universe.system.service;

import com.sq.universe.base.service.BaseService;
import com.sq.universe.system.entity.AutoCodeEntity;
import com.sq.universe.system.entity.TableConfigurationEntity;

import java.util.List;
import java.util.Map;

public interface AutoCodeService extends BaseService<AutoCodeEntity> {

    /**
     * 查询所有的表
     * @return
     */
    public List<Map> getTables();

    /**
     * 查询选中表的详情
     * @return
     */
    public List<AutoCodeEntity> queryTableDetail(String tableName);

    /**
     * 单表代码生成
     * @param tableConfigurationEntity
     */
    public void codeGenerateBySingle(TableConfigurationEntity tableConfigurationEntity);
}
